package com.zmh.model;

/**
 * MYSQL列 实体类 Tue Dec 19 16:50:28 CST 2017 zhoumh
 */

public class Column {
	private String TABLE_CATALOG;
	// 数据库名称
	private String TABLE_SCHEMA;
	// 表名
	private String TABLE_NAME;
	// 列名
	private String COLUMN_NAME;
	// 列排序
	private int ORDINAL_POSITION;
	// 列默认值
	private String COLUMN_DEFAULT;
	// 是否为空
	private String IS_NULLABLE;
	// 数据类型 varchar
	private String DATA_TYPE;
	// 最大长度 128
	private String CHARACTER_MAXIMUM_LENGTH;
	private String CHARACTER_OCTET_LENGTH;
	private String NUMERIC_PRECISION;
	private String NUMERIC_SCALE;
	private String DATETIME_PRECISION;
	// 编码类型
	private String CHARACTER_SET_NAME;
	// 排序规则
	private String COLLATION_NAME;
	// 列类型 varchar(128)
	private String COLUMN_TYPE;
	// 是否主键
	private String COLUMN_KEY;
	private String EXTRA;
	// 权限 select,insert,update,references
	private String PRIVILEGES;
	// 注释
	private String COLUMN_COMMENT;
	private String GENERATION_EXPRESSION;

	// 注释
	public void setTABLE_CATALOG(String TABLE_CATALOG) {
		this.TABLE_CATALOG = TABLE_CATALOG;
	}
	/** 注释	 */
	public String getTABLE_CATALOG() {
		return TABLE_CATALOG;
	}
	public void setTABLE_SCHEMA(String TABLE_SCHEMA) {
		this.TABLE_SCHEMA = TABLE_SCHEMA;
	}
	public String getTABLE_SCHEMA() {
		return TABLE_SCHEMA;
	}
	public void setTABLE_NAME(String TABLE_NAME) {
		this.TABLE_NAME = TABLE_NAME;
	}
	public String getTABLE_NAME() {
		return TABLE_NAME;
	}
	public void setCOLUMN_NAME(String COLUMN_NAME) {
		this.COLUMN_NAME = COLUMN_NAME;
	}
	public String getCOLUMN_NAME() {
		return COLUMN_NAME;
	}
	public void setORDINAL_POSITION(int ORDINAL_POSITION) {
		this.ORDINAL_POSITION = ORDINAL_POSITION;
	}
	public int getORDINAL_POSITION() {
		return ORDINAL_POSITION;
	}
	public void setCOLUMN_DEFAULT(String COLUMN_DEFAULT) {
		this.COLUMN_DEFAULT = COLUMN_DEFAULT;
	}
	public String getCOLUMN_DEFAULT() {
		return COLUMN_DEFAULT;
	}
	public void setIS_NULLABLE(String IS_NULLABLE) {
		this.IS_NULLABLE = IS_NULLABLE;
	}
	public String getIS_NULLABLE() {
		return IS_NULLABLE;
	}
	public void setDATA_TYPE(String DATA_TYPE) {
		this.DATA_TYPE = DATA_TYPE;
	}
	public String getDATA_TYPE() {
		return DATA_TYPE;
	}
	public void setCHARACTER_MAXIMUM_LENGTH(String CHARACTER_MAXIMUM_LENGTH) {
		this.CHARACTER_MAXIMUM_LENGTH = CHARACTER_MAXIMUM_LENGTH;
	}
	public String getCHARACTER_MAXIMUM_LENGTH() {
		return CHARACTER_MAXIMUM_LENGTH;
	}
	public void setCHARACTER_OCTET_LENGTH(String CHARACTER_OCTET_LENGTH) {
		this.CHARACTER_OCTET_LENGTH = CHARACTER_OCTET_LENGTH;
	}
	public String getCHARACTER_OCTET_LENGTH() {
		return CHARACTER_OCTET_LENGTH;
	}
	public void setNUMERIC_PRECISION(String NUMERIC_PRECISION) {
		this.NUMERIC_PRECISION = NUMERIC_PRECISION;
	}
	public String getNUMERIC_PRECISION() {
		return NUMERIC_PRECISION;
	}
	public void setNUMERIC_SCALE(String NUMERIC_SCALE) {
		this.NUMERIC_SCALE = NUMERIC_SCALE;
	}
	public String getNUMERIC_SCALE() {
		return NUMERIC_SCALE;
	}
	public void setDATETIME_PRECISION(String DATETIME_PRECISION) {
		this.DATETIME_PRECISION = DATETIME_PRECISION;
	}
	public String getDATETIME_PRECISION() {
		return DATETIME_PRECISION;
	}
	public void setCHARACTER_SET_NAME(String CHARACTER_SET_NAME) {
		this.CHARACTER_SET_NAME = CHARACTER_SET_NAME;
	}
	public String getCHARACTER_SET_NAME() {
		return CHARACTER_SET_NAME;
	}
	public void setCOLLATION_NAME(String COLLATION_NAME) {
		this.COLLATION_NAME = COLLATION_NAME;
	}
	public String getCOLLATION_NAME() {
		return COLLATION_NAME;
	}
	public void setCOLUMN_TYPE(String COLUMN_TYPE) {
		this.COLUMN_TYPE = COLUMN_TYPE;
	}
	public String getCOLUMN_TYPE() {
		return COLUMN_TYPE;
	}
	public void setCOLUMN_KEY(String COLUMN_KEY) {
		this.COLUMN_KEY = COLUMN_KEY;
	}
	public String getCOLUMN_KEY() {
		return COLUMN_KEY;
	}
	public void setEXTRA(String EXTRA) {
		this.EXTRA = EXTRA;
	}
	public String getEXTRA() {
		return EXTRA;
	}
	public void setPRIVILEGES(String PRIVILEGES) {
		this.PRIVILEGES = PRIVILEGES;
	}
	public String getPRIVILEGES() {
		return PRIVILEGES;
	}
	public void setCOLUMN_COMMENT(String COLUMN_COMMENT) {
		this.COLUMN_COMMENT = COLUMN_COMMENT;
	}
	public String getCOLUMN_COMMENT() {
		return COLUMN_COMMENT;
	}
	public void setGENERATION_EXPRESSION(String GENERATION_EXPRESSION) {
		this.GENERATION_EXPRESSION = GENERATION_EXPRESSION;
	}
	public String getGENERATION_EXPRESSION() {
		return GENERATION_EXPRESSION;
	}
}
